package app.fugema.shop.main.center.model;


import java.util.List;

public class PointResultBean
{
    /**
     * success : true
     * msg :
     * code : 0
     * total : 18
     * data : [{"Id":1337,"TypeId":5,"ShowType":"每日登录","Integral":1,"RecordDate":"2021-05-14T16:42:09","ReMark":"每天登录"},{"Id":1334,"TypeId":5,"ShowType":"每日登录","Integral":1,"RecordDate":"2021-05-13T09:58:07","ReMark":"每天登录"},{"Id":1304,"TypeId":5,"ShowType":"每日登录","Integral":1,"RecordDate":"2021-04-28T10:21:11","ReMark":"每天登录"},{"Id":1298,"TypeId":5,"ShowType":"每日登录","Integral":1,"RecordDate":"2021-04-27T09:42:30","ReMark":"每天登录"},{"Id":1295,"TypeId":13,"ShowType":"大转盘消耗","Integral":-1,"RecordDate":"2021-04-26T17:36:01","ReMark":"大转盘消耗"},{"Id":1290,"TypeId":5,"ShowType":"每日登录","Integral":1,"RecordDate":"2021-04-26T09:13:27","ReMark":"每天登录"},{"Id":1289,"TypeId":12,"ShowType":"签到","Integral":1,"RecordDate":"2021-04-25T17:11:46","ReMark":"签到奖励"}]
     */

    private boolean success;
    private String msg;
    private int code;
    private int total;
    private List<IntegralBean> data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<IntegralBean> getData() {
        return data;
    }

    public void setData(List<IntegralBean> data) {
        this.data = data;
    }

    public static class IntegralBean {
        /**
         * Id : 1338
         * TypeId : 5
         * ShowType : 每日登录
         * Integral : 1
         * RecordDate : 2021-05-17T09:20:04
         * ReMark : 每天登录
         */

        private int Id;
        private int TypeId;
        private String ShowType;
        private int Integral;
        private String RecordDate;
        private String ReMark;

        public int getId() {
            return Id;
        }

        public void setId(int Id) {
            this.Id = Id;
        }

        public int getTypeId() {
            return TypeId;
        }

        public void setTypeId(int TypeId) {
            this.TypeId = TypeId;
        }

        public String getShowType() {
            return ShowType;
        }

        public void setShowType(String ShowType) {
            this.ShowType = ShowType;
        }

        public int getIntegral() {
            return Integral;
        }

        public void setIntegral(int Integral) {
            this.Integral = Integral;
        }

        public String getRecordDate() {
            return RecordDate;
        }

        public String getRecordDateTime()
        {
            return RecordDate.replaceAll("T"," ");
        }

        public void setRecordDate(String RecordDate) {
            this.RecordDate = RecordDate;
        }

        public String getReMark() {
            return ReMark;
        }

        public void setReMark(String ReMark) {
            this.ReMark = ReMark;
        }
    }
}
